package com.itchen.hospital.service;

import com.github.pagehelper.PageInfo;
import com.itchen.hospital.pojo.Params;
import com.itchen.hospital.pojo.Hospital;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface HospitalService {

    /**
     * 条件查询
     * @param params
     * @return
     */
    PageInfo<Hospital> search(Params params);


    /**
     * 修改
     * @param map
     */
    void update(Map<String, String> map);

    /**
     * 根据id回显
     * @param
     */
    Hospital findById(Integer id);
}
